package cn.zwx.activiti.example.mapper;

import cn.zwx.activiti.example.model.bo.UserInfoBO;
import cn.zwx.activiti.example.model.po.UserPO;

import java.util.List;

/**
 * @Entity generator.domain.TUser
 */
public interface UserMapper {


    int insertSelective(UserPO record);

    UserPO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserPO record);

    /**
     * @description 查询单个用户信息
     * @return cn.zwx.activiti.example.model.po.UserPO
     * @author zhangwenxue
     * @createTime 2021/5/29 11:03
     **/
    UserPO selectOneUser(UserInfoBO bo);

    List<UserPO> selectAll();
}




